### Project 15 Blink and Breath **1. Overview** In this project, we combine the project 13 and project 14. You will learn how to control the LED on the module blink for twice, then breath for twice, circularly. **2.Components Required** - Micro:bit main board\*1 - Keyestudio Micro bit Sensor V2 Shield\*1 - USB Cable\*1 - Keyestudio Digital LED Module\*1 - Alligator Clip Cable\*3 **3.Connection Diagram** Connect the keyestudio Digital LED Module to micro:bit main board with 3 Alligator clip cables. Ring S to P0, V to 3V, G to GND. Connect the micro:bit to your computer with a micro USB cable. ![](media/image-20260128135659854.png) **4.Coding** So now let's move to coding. Let us see how to code the LED to blink and breath. Below are some steps to follow. Open the [https://makecode.micro:bit.org/\#editor](https://makecode.microbit.org/#editor) to write your code. Microsoft MakeCode is actually a platform that allows us to code for a micro:bit, and also provides an interactive simulator where we can debug and run our code, and will be able to see what to expect out right there on the site. Go to MakeCode and choose **My Projects** and click on **New Projects**. If you want to see the codes behind, then you can click on JavaScript and it will display JavaScript code there in IDE. ![](media/image-20260128135747459.png) **5.The following test code is for your reference** ![](media/image-20260128135805254.png) ![](media/image-20260128135810901.png) **6.Test Results** Done wiring and powered up, send the code to micro:bit, you should see the LED on the module firstly blink twice, then breath twice, circularly.